package route

import (
	"core/repo"
	"framework/node"
	"game_bao/handler"
	"game_bao/logic"
)

func Register(r *repo.Manager) node.LogicHandler {
	handlers := make(node.LogicHandler)
	baoM := logic.NewBaoManager(r)

	//财神宝盆
	bao := handler.NewBaoHandler(r, baoM)
	handlers["bao.info"] = bao.Info
	return handlers
}
